@import "../commons/variables.scss";
@import "../commons/px2rem.scss";

body {
    font-family: "Microsoft YaHei", "Microsoft YaHei", "Helvetica Neue", Arial,
        HelveticaNeue, Helvetica, "BBAlpha Sans", sans-serif;
    position: relative;
    width: 100vw !important;
    height: 100vh !important;
    background-color: $bodyBackground; // 设置背景透明在安卓端显示
    margin: 0 auto;
    font-size: 16px;
}

.container {
    position: relative;
    height: 100%;
    width: px2rem(640);
    margin: 0 auto;
}

.policy-container {
    width: 90%;

    // 在横屏状态下的样式
    @media (orientation: landscape) {
        position: absolute;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.5);
    }

    // 在竖屏状态下的样式
    @media (orientation: portrait) {
        position: absolute;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    background: #fff;
    box-sizing: border-box;
    border-radius: px2rem(8);
}

.header {
    border-top-left-radius: px2rem(8);
    border-top-right-radius: px2rem(8);
    height: px2rem(75);
    line-height: px2rem(75);
    text-align: center;
    font-size: px2rem(34);
    color: #000;
    font-weight: 400;
    letter-spacing: 1px;
}
.msg {
    position: relative;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: px2rem(20) px2rem(28);
    font-size: px2rem(26);
    line-height: 1.8;
    font-weight: 400;
    text-indent: 5%;
}
.msg a {
    color: blue;
}

.oper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: px2rem(10) auto px2rem(30);
}

.agree {
    flex: 1;
    color: #fff;
    text-align: center;
    font-size: px2rem(30);
    font-weight: 400;

    .btn {
        margin: 0 auto;
        width: px2rem(200);
        height: px2rem(65);
        line-height: px2rem(65);
        background-color: #5c7cf6;
        border-radius: px2rem(50);
        box-sizing: border-box;
    }
}

.reject {
    flex: 1;
    color: #212121;
    text-align: center;
    font-size: px2rem(30);
    font-weight: 400;
    margin-left: -(px2rem(35));

    .btn {
        margin: 0 auto;
        width: px2rem(200);
        height: px2rem(65);
        line-height: px2rem(65);
        background-color: #a5a0a0;
        box-sizing: border-box;
        border-radius: px2rem(50);
    }
}
